home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interplay's Learn to Program Basic (Review Copy)
/
Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO
/
pc
/
ltpbasic
/
refxmpl
/
tan.bas
< prev
next >
Wrap
BASIC Source File
|
1998-04-07
|
192b
|
12 lines
Rem Print the tangent of angles
Rem between 0 and 360 degrees
CLS
For angle = 0 To 360
REM Convert degrees to radians
rad = angle / (3.14159 * 2)
t = Tan(rad)
Print t
Next angle
End